<html>
<head><meta charset="utf-8"><title>behaviour on --fix failure · clippy · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/index.html">clippy</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/behaviour.20on.20--fix.20failure.html">behaviour on --fix failure</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="221031905"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/behaviour%20on%20--fix%20failure/near/221031905" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/behaviour.20on.20--fix.20failure.html#221031905">(Dec 28 2020 at 01:12)</a>:</h4>
<p>Right now if clippy fails to apply a <code>--fix</code> (<code>cargo clippy --fix -Zunstable-options</code>) lint suggestion, it does not make the build stop, and it does not even force a bad exit status.<br>
Is this intended? Has this always been the case?</p>



<a name="221107916"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/behaviour%20on%20--fix%20failure/near/221107916" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/behaviour.20on.20--fix.20failure.html#221107916">(Dec 29 2020 at 02:53)</a>:</h4>
<p>personally I like this behavior because clippy has so many bugs when running on rustc <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>



<a name="221107923"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/behaviour%20on%20--fix%20failure/near/221107923" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/behaviour.20on.20--fix.20failure.html#221107923">(Dec 29 2020 at 02:53)</a>:</h4>
<p>but I don't feel strongly about it - it would be nice to have <code>--no-fail-fast</code> or something though</p>



<a name="221108264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/behaviour%20on%20--fix%20failure/near/221108264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/behaviour.20on.20--fix.20failure.html#221108264">(Dec 29 2020 at 03:02)</a>:</h4>
<p><span class="user-mention silent" data-user-id="232545">Joshua Nelson</span> <a href="#narrow/stream/257328-clippy/topic/behaviour.20on.20--fix.20failure/near/221107916">said</a>:</p>
<blockquote>
<p>personally I like this behavior because clippy has so many bugs when running on rustc <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span></p>
</blockquote>
<p>oh look speak of the devil <span aria-label="laughing" class="emoji emoji-1f606" role="img" title="laughing">:laughing:</span>  <a href="https://hastebin.com/ibazoxesaf.rb">https://hastebin.com/ibazoxesaf.rb</a></p>



<a name="221108273"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/257328-clippy/topic/behaviour%20on%20--fix%20failure/near/221108273" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/257328-clippy/topic/behaviour.20on.20--fix.20failure.html#221108273">(Dec 29 2020 at 03:02)</a>:</h4>
<p>I think this is <a href="https://github.com/rust-lang/rust-clippy/issues/6238">https://github.com/rust-lang/rust-clippy/issues/6238</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>